/*
 * @Author: liuqiang
 * @Date: 2022-04-07 15:03:56
 * @LastEditors: liuqiang
 */
import { createStore } from 'vuex'

export default createStore({
  state: {
    menuList: [
      { order: '0', to: 'Amapgis', title: '一张图', url: require('../assets/1.jpg') },
      { order: '1', to: 'home', title: 'openlayers介绍', url: require('../assets/icon/bu.png') },
      { order: '2', to: 'firstMap', title: '制作第一个地图', url: require('../assets/icon/yao.png') },
      { order: '3', to: 'popup', title: '弹窗 popup', url: require('../assets/icon/bei.png') },
      { order: '4', to: 'marker', title: '标记 marker', url: require('../assets/icon/dui.png') },
      { order: '5', to: 'zoom', title: '地图缩放级别 zoom', url: require('../assets/icon/xiang.png') },
      { order: '6', to: 'tabIndex', title: '单击激活地图 tabindex', url: require('../assets/icon/dun.png') },
      { order: '7', to: 'tabContainer', title: '切换地图容器', url: require('../assets/icon/shu.png') },
      { order: '8', to: 'SynMaps', title: '同步两个地图', url: require('../assets/icon/xing.png') },
      { order: '9', to: 'preload', title: '预加载 preload', url: require('../assets/icon/dun.png') },
      { order: '10', to: 'vectorgraphJson', title: '矢量图 JSON', url: require('../assets/icon/fang.png') },
      { order: '11', to: 'vectorHigh', title: '矢量图 高亮', url: require('../assets/icon/fa.png') },
      { order: '12', to: 'rotationMap', title: '旋转 rotation', url: require('../assets/icon/deng.png') },
      { order: '13', to: 'mouseZoom', title: '鼠标拖拽旋转/缩放', url: require('../assets/icon/ci.png') },
      { order: '14', to: 'animate', title: '动画 animate', url: require('../assets/icon/hui.png') },
      { order: '15', to: 'graticule', title: '网格 Graticule', url: require('../assets/icon/suo.png') },
      { order: '16', to: 'Heatmap', title: '热力图 Heatmap', url: require('../assets/icon/mi.png') },
      { order: '17', to: 'ScaleLine', title: '比例尺控件 ScaleLine', url: require('../assets/icon/huo.png') },
      { order: '18', to: 'FullScreen', title: '全屏控件 FullScreen', url: require('../assets/icon/fen.png') },
      { order: '19', to: 'ZoomToExtent', title: '导览控件 ZoomToExtent', url: require('../assets/icon/zui.png') },
      { order: '20', to: 'OverviewMap', title: '总览控件 OverviewMap', url: require('../assets/icon/gen.png') },
      { order: '21', to: 'MousePosition', title: '鼠标位置控件', url: require('../assets/icon/ben.png') },
      { order: '22', to: 'ZoomSlider', title: '缩放滑块控件', url: require('../assets/icon/de.png') },
      { order: '23', to: 'Group', title: '图层组 Group', url: require('../assets/icon/shi.png') },
      { order: '24', to: 'setZIndex', title: '控制图层层叠关系', url: require('../assets/icon/xian.png') },
      { order: '25', to: 'limitResolution', title: '限制分辨率', url: require('../assets/icon/liao.png') },
      { order: '26', to: 'setExtent', title: '按限制范围加载图层', url: require('../assets/icon/jie.png') },
      { order: '27', to: 'layerCover', title: '图层遮罩效果', url: require('../assets/icon/zui.png') },
      { order: '28', to: 'setSource', title: '设置图层的源 setSource', url: require('../assets/icon/ji.png') },
      { order: '29', to: 'easyMark', title: '简单的标记', url: require('../assets/icon/chu.png') },
      { order: '30', to: 'markColor', title: '定义标记颜色', url: require('../assets/icon/de.png') },
      { order: '31', to: 'aggregatedData', title: '聚合数据', url: require('../assets/icon/zhi.png') },
      { order: '32', to: 'basicDraw', title: '绘制点、线、面', url: require('../assets/icon/shi1.png') },
      { order: '33', to: 'drawGraph', title: '绘制图形', url: require('../assets/icon/fen.png') },
      { order: '34', to: 'freeDrawing', title: '自由绘制图形', url: require('../assets/icon/bu.png') },
      { order: '35', to: 'arrowLine', title: '带箭头的线段', url: require('../assets/icon/shi.png') },
      { order: '36', to: 'snapGraph', title: '修改自由绘制的图形', url: require('../assets/icon/ma.png') }
    ]
  },
  mutations: {
  },
  actions: {
  },
  modules: {
  }
})
